//Main coder: sang
#ifndef INPUT_FIELD_H
#define INPUT_FIELD_H
#include <gtk/gtk.h>

typedef struct {
	GtkWidget* label;
	GtkWidget* value;
	GtkWidget* controls;
} input_field_t;

input_field_t* input_field_new(const gchar* say, const gchar* default_value);
input_field_t* input_field_new_password(const gchar* say, const gchar* default_value);
input_field_t* input_field_new_with_tooltip(const gchar* say, const gchar* default_value, const gchar* tooltip);
void input_field_destroy(input_field_t* input_field);
GtkWidget* input_field_get_control(input_field_t* input_field);
const gchar* input_field_get_value(input_field_t* input_field);
input_field_t* input_field_set_password_field(input_field_t* input_field, gboolean is_password_field);

#endif
